export function findMaxMin(c8) {
    if (!c8 || c8.length === 0) {
        return [0, 0];
    }
    let d8 = c8[0];
    let e8 = c8[0];
    for (let f8 = 1; f8 < c8.length; f8++) {
        if (c8[f8] > d8) {
            d8 = c8[f8];
        }
        if (c8[f8] < e8) {
            e8 = c8[f8];
        }
    }
    return [d8, e8];
}
export function splitRange(x7, y7) {
    const z7 = (x7 - y7) / 4;
    const a8 = [];
    for (let b8 = 0; b8 < 4; b8++) {
        a8.push(Math.floor(y7 + b8 * z7));
    }
    a8.push(Math.floor(x7));
    return a8;
}
